import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../views/user/Login.vue'
import Doctor from '../views/Inquiry/Doctor.vue'
import Docdesc from '../views/Inquiry/Docdesc.vue'
import WenInquiry from '../views/Inquiry/WenInquiry.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Login',
    component: Login
  },
  {
    path: '/doctor',
    name: 'Doctor',
    component: Doctor
  },
  {
    path: '/docdesc',
    name: 'Docdesc',
    component: Docdesc
  },
  {
    path: '/weninquiry',
    name: 'WenInquiry',
    component: WenInquiry
  },
  
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
